package com.itcs.app.pay.model;

import java.util.Map;

/**
 * 主扫参数
 * 
 * @author LiuPeng
 * @date 2018年3月24日
 * 
 */
public class QrcodePayModel {

	/**
	 * @Fields 支付渠道
	 */
	private String payChannelCode;
	/**
	 * @Fields 订单号
	 */
	private String tranNO;

	/**
	 * @Fields 金额
	 */
	private String tollFare;

	/**
	 * @Fields 订单名称
	 */
	private String orderName;

	/**
	 * @Fields 订单详情
	 */
	private String orderDetail;
	
	/**
	 * @Fields reserved : 商户保留域
	 */
	private String reserved;
	
	/**
	 * @Fields 扩展参数（通过filter过滤获取）
	 */
	private Map<String, String> filterParams;

	/** 
	 * 创建一个新的实例 QrcodePayModel.  
	 *
	 * @param payChannelCode
	 * @param tranNO
	 * @param tollFare
	 * @param orderName
	 * @param orderDetail
	 * @param filterParams
	 * @param ip 
	 */
	public QrcodePayModel(String payChannelCode, String tranNO, String tollFare, String orderName, String orderDetail,
			Map<String, String> filterParams, String ip) {
		super();
		this.payChannelCode = payChannelCode;
		this.tranNO = tranNO;
		this.tollFare = tollFare;
		this.orderName = orderName;
		this.orderDetail = orderDetail;
		this.filterParams = filterParams;
		this.ip = ip;
	}

	/**
	 * @Fields ip
	 */
	private String ip;

	/**
	 * @return the payChannelCode
	 */
	public String getPayChannelCode() {
		return payChannelCode;
	}

	/**
	 * @param payChannelCode
	 *            the payChannelCode to set
	 */
	public void setPayChannelCode(String payChannelCode) {
		this.payChannelCode = payChannelCode;
	}

	/**
	 * @return the tranNO
	 */
	public String getTranNO() {
		return tranNO;
	}

	/**
	 * @param tranNO
	 *            the tranNO to set
	 */
	public void setTranNO(String tranNO) {
		this.tranNO = tranNO;
	}

	/**
	 * @return the tollFare
	 */
	public String getTollFare() {
		return tollFare;
	}

	/**
	 * @param tollFare
	 *            the tollFare to set
	 */
	public void setTollFare(String tollFare) {
		this.tollFare = tollFare;
	}

	/**
	 * @return the orderName
	 */
	public String getOrderName() {
		return orderName;
	}

	/**
	 * @param orderName
	 *            the orderName to set
	 */
	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	/**
	 * @return the orderDetail
	 */
	public String getOrderDetail() {
		return orderDetail;
	}

	/**
	 * @param orderDetail
	 *            the orderDetail to set
	 */
	public void setOrderDetail(String orderDetail) {
		this.orderDetail = orderDetail;
	}

	/**
	 * @return the reserved
	 */
	public String getReserved() {
		return reserved;
	}

	/**
	 * @param reserved the reserved to set
	 */
	public void setReserved(String reserved) {
		this.reserved = reserved;
	}

	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}

	/**
	 * @param ip
	 *            the ip to set
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}

	/**
	 * @return the filterParams
	 */
	public Map<String, String> getFilterParams() {
		return filterParams;
	}

	/**
	 * @param filterParams the filterParams to set
	 */
	public void setFilterParams(Map<String, String> filterParams) {
		this.filterParams = filterParams;
	}

}
